package com.jy.api.service;

import com.jy.api.domain.TableSalesCode;
import com.jy.api.signUpReq.SalesCode.UpdateSalesCodeReq;
import com.jy.api.util.Result;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by xiaohua on 2019/3/29.
 */
public interface TableSalesCodeService {


   Result findByCodeName(String codeName);

   Page<TableSalesCode> findAllCode(String mobile, Pageable pageable);

   Result updateCode(UpdateSalesCodeReq req);

   Result addCode(UpdateSalesCodeReq req);


}
